﻿using System.Collections.ObjectModel;

namespace BotModels
{
    public class Conversation : ModelBase
    {
        public Conversation()
        {
            Log = new ObservableCollection<Message>();
            Bot = new Bot();
        }

        private Bot bot;
        public Bot Bot
        {
            get { return bot; }
            set
            {
                if (bot == value)
                {
                    return;
                }

                bot = value;
                RaisePropertyChanged("Bot");
            }
        }

        public string Id { get; set; }
        public ObservableCollection<Message> Log { get; set; }
    }
}
